package com.kaifamiao;

public class A {

    private String name;

    public A(){}

    public String getName(String... strings) {
        if (strings != null) {
            this.name = strings[0];
        }
        System.out.println("我是类A，name = " + this.name);
        return name;
    }
}
